package cn.darkhorse.pick.mapper;

import java.util.List;

import cn.darkhorse.pick.pojo.PickSubscribe;

/**
 * 采棉机预约Mapper接口
 *
 * @author ruoyi
 * @date 2021-05-06
 */
public interface PickSubscribeMapper
{
    /**
     * 查询采棉机预约
     *
     * @param subscribeId 采棉机预约ID
     * @return 采棉机预约
     */
    public PickSubscribe selectPickSubscribeById(Long subscribeId);

    /**
     * 查询采棉机预约列表
     *
     * @param pickSubscribe 采棉机预约
     * @return 采棉机预约集合
     */
    public List<PickSubscribe> selectPickSubscribeList(PickSubscribe pickSubscribe);

    /**
     * 新增采棉机预约
     *
     * @param pickSubscribe 采棉机预约
     * @return 结果
     */
    public int insertPickSubscribe(PickSubscribe pickSubscribe);

    /**
     * 修改采棉机预约
     *
     * @param pickSubscribe 采棉机预约
     * @return 结果
     */
    public int updatePickSubscribe(PickSubscribe pickSubscribe);

    /**
     * 删除采棉机预约
     *
     * @param subscribeId 采棉机预约ID
     * @return 结果
     */
    public int deletePickSubscribeById(Long subscribeId);

    /**
     * 批量删除采棉机预约
     *
     * @param subscribeIds 需要删除的数据ID
     * @return 结果
     */
    public int deletePickSubscribeByIds(String[] subscribeIds);
}
